f = open("input.txt").readlines()
r = open("output.txt", 'w')
n = int(f[0])
m = list(map(int, f[1].split()))
s = ""
for i in range(n):
    s += str(m[n-i-1]) + " "
r.write(s)
r.close()